package com.ruoyi.jiaopei.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程学员对象 tb_curriculum_student
 *
 * @author macy
 * @date 2024-04-03
 */
@Data
@TableName("tb_curriculum_student")
public class TbCurriculumStudent  {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 学员ID
     */
    private Long studentId;
    /**
     * 课程ID
     */
    private Long curriculumId;
    /**
     * 课时
     */
    private BigDecimal lessonHours;
    /**
     * 剩余课时
     */
    private BigDecimal surplus;
    /**
     * 课程名称
     */
    private String curriculumName;

    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 审批人
     */
    private String approval;

    /**
     * 来源 =字典
     */
    private String source;


    /**
     * 备注
     */
    private String remarks;
    /**
     * 销售
     */
    private Long salesId;

    @TableField(exist = false)
    private SysUser salesVo;


    /**
     * 付款状态 =字典
     */
    private String paymentStatus;

    /**
     * 付款时间
     */
    private Date paymentDate;


}
